using BasicData.ErrorCode;
using MediatR;
using System;
using System.ComponentModel.DataAnnotations;

namespace BasicData.API.Application.Command
{
    /// <summary>
    /// 单个产品信息软删除命令
    /// </summary>
    public class SoftDeleteProductionCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 产品信息ID
        /// </summary>
        [Required(ErrorMessage = "产品信息ID不能为空")]
        public Guid ProductionId { get; set; }
        
        /// <summary>
        /// 操作人
        /// </summary>
        [Required(ErrorMessage = "操作人不能为空")]
        public string Operator { get; set; }
    }
} 